package com.thoughtworks;

public class App {

  public static void main(String[] args) {
//    Restaurant chicken = new Restaurant();
////    String selectedItems = "ITEM0001 x 1,ITEM0013 x 2,ITEM0022 x 1";
////    String orderDetails = chicken.bestCharge(selectedItems);
////    System.out.println(orderDetails);
////
////    String excepted = "============= 订餐明细 =============\n"
////            + "黄焖鸡 x 1 = 18元\n"
////            + "肉夹馍 x 2 = 12元\n"
////            + "凉皮 x 1 = 8元\n"
////            + "-----------------------------------\n"
////            + "使用优惠:\n"
////            + "指定菜品半价(黄焖鸡，凉皮)，省13元\n"
////            + "-----------------------------------\n"
////            + "总计：25元\n"
////            + "===================================";
////
////    System.out.println(excepted.equals(orderDetails));

    String test = "ABCD4FA 2";
    String[] test2 = test.split("");
    System.out.println(test2.length);

  }
}
